package com.blog.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.blog.common.core.web.page.TableDataInfo;
import com.blog.common.domain.entity.PhotoAlbum;
import com.blog.common.domain.dto.PhotoAlbumDto;
import com.blog.common.domain.vo.PhotoAlbumVo;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 相册 服务类
 * </p>
 *
 * @author Valerie
 * @since 2023-03-11
 */
public interface PhotoAlbumService extends IService<PhotoAlbum> {

    /**
     * 获取相册列表
     *
     * @return {@link List<PhotoAlbumVo>}
     */
    TableDataInfo<PhotoAlbumVo> listPhotoAlbum();

    /**
     * 获取相册列表
     *
     * @param albumId 相册id
     * @return {@link PhotoAlbumVo}
     */
    PhotoAlbumVo listPhotoAlbum(Serializable albumId);

    /**
     * 修改相册
     *
     * @param photoAlbumDto 修改相册
     * @return void
     */
    Boolean updatePhotoAlbum(PhotoAlbumDto photoAlbumDto);
}
